<!DOCTYPE html>
<html>
<head>
    <title>联培教育 G10 TEACHER</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="../Content/base.css">
    <link rel="stylesheet" type="text/css" href="../Content/personal.css">
    <link rel="stylesheet" type="text/css" href="../Content/login_edit.css">
    <link rel="stylesheet" type="text/css" href="../Content/resume.css">
    <script src="../Scripts/jquery-1.10.2.min.js"></script>

    <script src="../Scripts/WdatePicker/WdatePicker.js"></script>
    <script src="../Scripts/Tools.js"></script>
    <script type="text/javascript" src="../Scripts/main.js"></script>
    <script src="../Scripts/tConfirm.js"></script>
    <script src="../Scripts/YMDClass.js"></script>
    <script src="../Scripts/jquery.cityselect.js"></script>

    <link rel="stylesheet" type="text/css" href="../Content/tConfirm.css">
    
    <script type="text/javascript">
        function ChangeClass(obj) {
            $(".pageTag", ".personalmenu").each(function (i) {
                if (this == obj) {
                    $(obj).addClass("active");
                }
                else {
                    $(this).removeClass("active");
                }
            });

        }
    </script>
</head>
<body>

    <div class="wrap">
        <div class="header">
            <div class="top">
                <div class="inner">
                    <dl class="social">
                        
                        <dd>官方微博：<a href="" class="wb"></a></dd>
                        <dd>微信公众号：<a href="" class="wx"></a></dd>
                        <dd>全国服务热线：021-52588866</dd>
                    </dl>
                    <div class="user">
                            <!--登录后-->
                            <a href="Login.html" class="tologin">123，您好</a>
                            <div class="myorder">
                                <div class="haveafter">
                                    <span>个人中心</span>
                                    <ul class="downbox">
                                        <li class="active"><a href="../Resume/account_info.html">履历表</a></li>
                                        <li><a href="../Personal/ethics.html">档案袋</a></li>
                                        <li><a href="../Order/index.html">我的订单</a></li>
                                        <li><a href="#">我的收藏</a></li>
                                    </ul>
                                </div>
                                <a href="#">进入考试</a>
                            </div>
                            <a href="../Account/LogOff" class="tologout">退出</a>
                    </div>
                </div>
            </div>
            <div class="nav">
                <div class="inner">
                    <div class="logo">
                        <a href="../"><img src="../Content/images/logo.png" /></a>
                    </div>
                    <ul class="menu">
                        <li><a href="../g10.qa.html">首页</a></li>
                        <li>
                            师资认证
                            <ul>
                                <li><a href="../home/about.html">认证简介</a></li>
                                <li><a href="../home/target.html">认证目标</a></li>
                                <li><a href="../home/guide.html">考试说明</a></li>
                            </ul>
                        </li>
                        <li>
                            我要考试
                            <ul>
                                <li> <a href="../Product/Index.html">我要考试</a> </li>
                                <li> <a href="#" onclick="GoToTest()">模拟考试</a> </li>
                            </ul>
                        </li>
                        <li><a href="../Legalize/index.html">我要认证</a></li>
                        <li>
                            培训晋升
                            <ul>
                                <li><a href="../internship/index.html">就业机会</a></li>
                                <li><a href="../employmenttraining/index.html">就业培训</a></li>
                            </ul>
                        </li>
                        <li><a href="../home/parner.html">机构合作</a></li>
                        <li><a href="../home/faq.html">联系我们</a></li>
                    </ul>
                </div>
            </div>
            <div class="banner">
                <div class="bannerbg">
                    <img src="../Content/images/banner.jpg" />
                </div>
            </div>
            <div class="location">
                <div class="inner">
                    <a href="#">个人中心</a>

                    <ul class="personalmenu">
                        <li>
                            <a href="../Resume/Account_info.html" class="pageTag active" id="mycar" onclick="ChangeClass(this)">履历表</a>
                        </li>
                        <li>
                            <a href="../Personal/ethics.html" class="pageTag" id="mycar" onclick="ChangeClass(this)">档案袋</a>
                        </li>
                        <li>
                            <a href="../Order/index.html" class="pageTag" id="myorder" onclick="ChangeClass(this)">我的订单</a>
                        </li>
                        <li>
                            <a href="#" class="pageTag" id="mycar" onclick="ChangeClass(this)">我的收藏夹</a>
                        </li>
                    </ul>
                </div>
            </div>

        </div>

        <section>
            <script src="../Scripts/MvcPager.js"></script>
            <script src="../Scripts/jquery.unobtrusive-ajax.min.js"></script>

            <div class="container">
                
                <div class="resume-list clearfix">
                    <!-- 左侧导航栏 -->
                    <div class="resume-subnav">
                        <ul>
                            <li>
                                <a href="Account_info.html">
                                    <p><img src="../Content/images/resume1.png" alt=""></p>
                                    <p>账号信息</p>
                                </a>
                            </li>
                            <li>
                                <a href="profile_info.html">
                                    <p><img src="../Content/images/resume2.png" alt=""></p>
                                    <p>基本信息</p>
                                </a>
                            </li>
                            <li>
                                <a href="educational.html">
                                    <p><img src="../Content/images/resume3.png" alt=""></p>
                                    <p>教育背景</p>
                                </a>
                            </li>
                            <li class="active">
                                <a href="experience.html">
                                    <p><img src="../Content/images/resume4_on.png" alt=""></p>
                                    <p>授课经验</p>
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="resume-account modify loginAndReg">
                        <p class="account-info-item acount-title" style="margin-left: 100px;margin-bottom: 0!important">填写授课经验</p>
                        
                        <form id="EditUserInfoForm" action="#" method="post" onsubmit="return formSubmit()">
                            <div class="accountInfo cf loginAndReg">

                                <div class="accountBox haveTipIcon">
                                    <div class="regInputList selectList">
                                        <span class="label-left">最高学历：</span>
                                        <div class="time-interval">
                                            <select class="reset-style" name="year_start" id="year_start"> </select>
                                            <select class="reset-style" name="month_start" id="month_start"></select>
                                            ~
                                            <select class="reset-style" name="year_end" id="year_end"> </select>
                                            <select class="reset-style" name="month_end" id="month_end"></select>
                                        </div>
                                    </div>
                                    <div class="regInputList selectList">
                                        <span class="label-left">教龄：</span>
                                        <div class="select-education">
                                            <select id="teachimgAge" class="reset-style">
                                                <option value="1年">1年</option>
                                                <option value="2年">2年</option>
                                                <option value="3年">3年</option>
                                                <option value="4年">4年</option>
                                                <option value="5年">5年</option>
                                            </select> 
                                        </div>
                                    </div>
                                    <p class="regInputList schoolName">
                                        <span class="label-left">学校名称：</span>
                                        <label>
                                            <input class="changeInput" data-val="true" data-val-required="学校名称 字段是必需的。" id="school_Name" name="school_Name" placeholder="请输入学校名称" type="text" value="" />
                                            <em class="clean"></em>
                                            <em class="clear"></em>
                                            <em class="emptyVal">
                                                <span class="tipTxt">不能为空</span>
                                                <span class="tipIcon"></span>
                                            </em>
                                        </label>
                                    </p>
                                    <p class="regInputList subjectName">
                                        <span class="label-left">科目名称：</span>
                                        <label>
                                            <input class="changeInput" data-val="true" data-val-required="科目名称 字段是必需的。" id="subject_Name" name="subject_Name" placeholder="请输入科目名称" type="text" value="" />
                                            <em class="clean"></em>
                                            <em class="clear"></em>
                                            <em class="emptyVal">
                                                <span class="tipTxt">不能为空</span>
                                                <span class="tipIcon"></span>
                                            </em>
                                        </label>
                                    </p>
                                    <p class="regInputList grade">
                                        <span class="label-left">年级：</span>
                                        <label>
                                            <input class="changeInput" data-val="true" data-val-required="年级 字段是必需的。" id="grade_Name" name="grade_Name" placeholder="请输入年级" type="text" value="" />
                                            <em class="clean"></em>
                                            <em class="clear"></em>
                                            <em class="emptyVal">
                                                <span class="tipTxt">不能为空</span>
                                                <span class="tipIcon"></span>
                                            </em>
                                        </label>
                                    </p>
                                    <p class="regInputList lectureNotes" style="margin-bottom: 0!important;">
                                        <span class="label-left">授课小结：</span>
                                        <label>
                                            <textarea rows="3" class="changeInput" data-val="true" data-val-required="授课小结 字段是必需的。" id="lecture_Note" name="lecture_Note" placeholder="请输入授课小结" type="text" value="" /></textarea>
                                            <em class="clean"></em>
                                            <em class="clear"></em>
                                            <em class="emptyVal">
                                                <span class="tipTxt">不能为空</span>
                                                <span class="tipIcon"></span>
                                            </em>
                                        </label>
                                    </p>
                                </div>
                                <div class="bottom-line experience-line"></div>
                                <div class="add-experience">
                                    <span>+</span>添加
                                </div>
                                <button type="submit" id="save">保&nbsp;&nbsp;存</button>
                            </div>
                        </form>
                    </div>
                    
                </div>

            </div>

        </section>

        <div class="footer">
            <div class="inner">
                <ul>
                    <li><span class="zl"></span>权威认证体系</li>
                    <li><span class="sz"></span>强大师资力量</li>
                    <li><span class="zz"></span>多阶专业培训</li>
                    <li><span class="xq"></span>最具前瞻性的职业通道</li>
                </ul>
            </div>
            <div class="bottom">
                <div class="inner">
                    <div class="about">
                        <h6>G10 teacher</h6>
                        <p>G10Teacher师享汇由国内20+顶尖教育培训机构联合发起，为K12行业教师提供师资认证、师资培训及师资就业服务， 致力于建立教育培训行业认证标准、提升培训机构师资能力、打造教育培训卓越品牌，从而成为“中国最大的K12行业师资认证与输出平台”。</p>
                    </div>
                    <div class="as">
                        <h2>021-54105871</h2>
                        <span>周一至周五 9:00-18:00</span>
                    </div>
                </div>
            </div>
            <div class="siteinfo">
                <div class="inner">
                    <img src="../Content/images/infologo.png" />
                    <span>
                        上海联培教育科技有限公司&nbsp;&nbsp;&nbsp;沪ICP备17013313号
                    </span>
                    <img src="../Content/images/info1.gif" />
                    <img src="../Content/images/info2.gif" />
                    <img src="../Content/images/info3.gif" />
                </div>
            </div>
        </div>
    </div>

</body>
</html>

<script type="text/javascript">
    $(function(){
        var subnavHeight = $(".resume-subnav").height();
        var accountHeight = $(".resume-account").height();
        if(subnavHeight<accountHeight){
            $(".resume-subnav").css('height',accountHeight+50+'px');
        };

        $(".haveafter").hover(function(){
            $(this).addClass('visited');
        },function(){
            $(this).removeClass('visited');
        });

        // 出生日期
        // new YMDselect('year','month','days');
        new YMDselect('year_start','month_start',2000,1);
        new YMDselect('year_end','month_end',2001,1);



    })
        //input得到焦点
        function tipStatuSet(event){
            $(event).parents("label").siblings("span").css('background-color','#189fdb');
            $(event).css('border-color','#189fdb');
            var inputVal = $.trim($(event).val());
            if(inputVal==''){
                $(event).parents('label').find(".emptyVal").hide();
                $(event).parents('label').find(".clean").hide();
                $(event).parents("label").find(".clear").hide();
            }else{
                $(event).parents('label').find(".emptyVal").hide();
                $(event).parents('label').find(".clean").hide();
                $(event).parents('label').find(".clear").show();
            }
        };

        // input框失去焦点
        function outlineColorChange(event){
            if($.trim($(event).val())){
                $(event).parents("label").siblings("span").css('background-color','#189fdb');
                $(event).css('border-color','#189fdb');
                $(event).parents("label").find(".clean").show();
                $(event).parents("label").find(".emptyVal").hide();
                $(event).parents("label").find(".clear").hide();
            }else{
                $(event).parents("label").siblings("span").css('background-color','#dcdcdc');
                $(event).css('border-color','#dcdcdc');
                $(event).parents("label").find(".emptyVal").show();
                $(event).parents("label").find(".clean").hide();
                $(event).parents("label").find(".clear").hide();
                
            }
        };

        // 点击input框的删除按钮
        $("body").on("mousedown","em.clear",function(){
            $(this).parents("label").find("input").val('');
            $(this).parents("label").find("input").focus();
            return false;
        });


        //点击保存按钮正确提示
        function tipTrueSet(event){
            $(event).find(".emptyVal").hide();
            $(event).find(".clean").show();
        };

        // 点击保存按钮错误提示
        function tipFalseSet(event){
            $(event).find(".emptyVal").show();
            $(event).find(".clean").hide();
        };

        // 学校名称
        $("#school_Name").focus(function(){
            tipStatuSet($(this));
        });
        $("#school_Name").blur(function(){
            outlineColorChange($(this));
        });
        
        // 科目名称
        $("#subject_Name").focus(function(){
            tipStatuSet($(this));
        });
        $("#subject_Name").blur(function(){
            outlineColorChange($(this));
        });

        // 年级
        $("#grade_Name").focus(function(){
            tipStatuSet($(this));
        });
        $("#grade_Name").blur(function(){
            outlineColorChange($(this));
        });

        // 点击保存按钮
        function formSubmit(){

            var teachimgAge = $("#teachimgAge option:selected").html();//教龄
            var schoolVal = $.trim($("#school_Name").val());//学校名称
            var subjectVal = $.trim($("#subject_Name").val());//科目名称
            var gradeVal = $.trim($("#grade_Name").val());//年级

            // 学校名称
            if(schoolVal==''){
                tipFalseSet($(".schoolName"));
                return false;
            }else{
                tipTrueSet($(".schoolName"));
            }

            // 科目名称
            if(subjectVal==''){
                tipFalseSet($(".subjectName"));
                return false;
            }else{
                tipTrueSet($(".subjectName"));
            }

            // 年级
            if(gradeVal==''){
                tipFalseSet($(".grade"));
                return false;
            }else{
                tipTrueSet($(".grade"));
            }

            setTimeout(function(){
                $("#teachimgAge").find("option[value='3年']").attr("selected",true);
                $("#school_Name").val("复旦大学");
                $("#subject_Name").val("计算机技术");
                $("#grade_Name").val("大三");
                new YMDselect('year_start','month_start',2017,4);
                new YMDselect('year_end','month_end',2018,4);
            });
            return false;
        };
    
</script>

<script>
    function GoToTest() {
        debugger;
        $.ajax({
            type: "post",
            dataType: 'json',
            url: "/Account/OpenURLToXueWu",
            cache: false,
            success: function (result) {
                if (result.IsLogin) {
                    window.open(result.url);
                }
                else {
                    //Info("提示！", "必须登录系统后才能使用模拟考试功能！");
                    window.location.href = "/Account/Login?returnUrl=/Home/Index";
                }
            },
            error: function (textStatus, errorThrown) {
                window.open("G10teacher.com");
            }
        });
    }
    function GoTest() {
        window.open("/Account/Login?returnUrl=/Home/Index");
    }
</script>